﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PhysicsControlModule.Models
{
    /*public class LabModel
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
    }*/

    public class TutorCabinetModel
    {
        public List<PublishedLabworkModel> PublishedLabworks { get; set; }
        public List<AvailableLabworkModel> AvailableLabworks { get; set; }
    }

    public class PublishedLabworkModel
    {
        public int LabworkId { get; set; }
        public string LabworkTitle { get; set; }
        public int GroupId { get; set; }
        public string GroupName { get; set; }
    }

    public class AvailableLabworkModel
    {
        public int LabworkId { get; set; }
        public string LabworkTitle { get; set; }
        public string TutorFirstLastName { get; set; }
    }

    /* ================================================= */

    public class GroupStatisticsModel
    {
        public int LabworkId { get; set; }
        public string LabworkTitle { get; set; }
        public int GroupId { get; set; }
        public string GroupName { get; set; }
        public List<StudentStatisticsModel> StudentStatisticsModels { get; set; }

        public GroupStatisticsModel()
        {
            StudentStatisticsModels = new List<StudentStatisticsModel>();
        }
    }

    public class StudentStatisticsModel
    {
        public int StudentId { get; set; }
        public string StudentFirstLastName { get; set; }
        public int AdmRightAnswered { get; set; }
        public int AdmQuestionsCount { get; set; }
        public int PeriphParamRightCount { get; set; }
        public int PeriphParamCount { get; set; }
        public int CtrlQuestionAnswered { get; set; }
        public int CtrlQuestionCount { get; set; }
        public int Mark { get; set; }
    }
}